package huixue.cn.com.rxapp.api;

import java.util.List;

import huixue.cn.com.rxapp.entity.Gank;
import huixue.cn.com.rxapp.entity.HttpResult;
import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Path;

/**
 * Created by gongdongyang on 2018/7/17.
 */

public interface GankApi {

    @GET("data/{gank}/10/{page}")
    Observable<HttpResult<List<Gank>>> getGankData(@Path("gank") String gank,
                                                   @Path("page") int page);


}
